package com.rh.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 树结构1级分类
 */
@Data
public class OneSubject {
    private String id;
    private String title;
    //1个1级分类中有多个2级分类
    private List<TwoSubject> children=new ArrayList<>();
}
